﻿<%@ Page Language="C#" MasterPageFile="~/giaovien/Manager3.master" AutoEventWireup="true"
    CodeFile="TrangKetQuaHocTapTheoKy.aspx.cs" Inherits="giaovien_TrangKetQuaHocTap"
    Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head1" runat="Server">
    <link href="../CSS/FixItem.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" runat="Server">
    <div style="width: 100%; height: auto;">
        <div id="main_panel" style="width: 100%;">
            <div id="personal_content" style="padding: 10px; border: 1px solid #ccc">
                <div class="personal_top_text">
                    Kết quả học tập của học sinh
                </div>
                <div style="height:200px;">
                <div class="boxleft">
                <div class="personal_style_form">
                    <span class="personal_laber">Năm học </span>
                    <asp:DropDownList runat="server" ID="drNamHoc" Width="150px" OnSelectedIndexChanged="drNamHoc_SelectedIndexChanged">
                    </asp:DropDownList>
                </div>
                <div class="personal_style_form">
                    <span class="personal_laber">Học kỳ </span>
                    <asp:RadioButton runat="server" ID="rdoKyI" GroupName="HocKy"
                        Checked="true" AutoPostBack="True" oncheckedchanged="rdoKyI_CheckedChanged" />I
                    <asp:RadioButton runat="server" ID="rdoKyII" GroupName="HocKy"  
                        AutoPostBack="True" oncheckedchanged="rdoKyII_CheckedChanged" />II
                    <asp:RadioButton runat="server" ID="rdoCaNam" GroupName="HocKy" 
                        AutoPostBack="True" oncheckedchanged="rdoCaNam_CheckedChanged" />Cả năm
                </div>
                <div class="personal_style_form">
                    <span class="personal_laber">Lớp học </span>
                    <asp:DropDownList runat="server" ID="drLopHoc" Width="150px" 
                        AutoPostBack="True" onselectedindexchanged="drLopHoc_SelectedIndexChanged">
                    </asp:DropDownList>
                </div>
                <div>
                   <%-- <span class="personal_button">
                        <asp:Button runat="server" ID="btnHienThi" CssClass="button_150" Text="Hiển thị"
                            OnClick="btnHienThi_Click" /></span>--%>
                </div>
                </div>
                <div class="boxright">
                    <table style="border:0.2px solid #ccc;width:100%;">
                        <tr class="dong1" style="border-bottom:0.2px solid #ccc;background-color:#E4ECEF">
                            <td colspan="2" style="text-align:center;font-size:15px;">Tình trạng bảng điểm</td>
                        </tr>
                        <tr class="dong1">
                            <td class="titledong">Trạng thái bảng điểm:</td>
                            <td class="lbl"><asp:Label runat="server" ID="lblTrangThai"></asp:Label></td>
                        </tr>
                        <tr class="dong1">
                            <td class="titledong">Ngày gửi:</td>
                            <td class="lbl"><asp:Label runat="server" ID="lblNgayGui"></asp:Label></td>
                        </tr>
                        <tr class="dong1">
                            <td class="titledong">Ngày duyệt:</td>
                            <td class="lbl"><asp:Label runat="server" ID="lblNgayDuyet"></asp:Label></td>
                        </tr>
                        <tr class="dong1">
                            <td class="titledong">Hạnh kiểm:</td>
                            <td class="lbl"><asp:CheckBox runat="server" ID="ckHanhKiem" /> Yêu cầu sửa</td>
                        </tr>
                        
                         <tr class="dong1">
                            <td class="titledong">Thông báo gửi:</td>
                            <td class="lbl"><asp:Label runat="server" ID="lblThongBao"></asp:Label></td>
                        </tr>
                    </table>
                </div>
                </div>
                <div style="margin-top: 10px">
                    <asp:GridView ID="grvBangDiemTK" runat="server" AutoGenerateColumns="False" Width="100%"
                        ForeColor="#333333" AllowPaging="True" Height="28px" PageSize="50" ShowFooter="True" OnRowDataBound="grvBangDiemTK_RowDataBound">
                        <RowStyle BackColor="#EFF3FB" />
                        <Columns>
                            <asp:TemplateField HeaderText="STT">
                                <ItemTemplate>
                                     <asp:Label runat="server" ID="lblSTT" Text='<%#Bind("STT") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Mã HS" SortExpression="MaHS">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lblMa" Text='<%#Bind("MaHS") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Tên HS" SortExpression="TenHS">
                                <ItemTemplate>
                                    <%#Eval("TenHS") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Toán" SortExpression="Toan">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl1" Text='<%#Eval("Toan") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Lý" SortExpression="Ly">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl2" Text='<%#Eval("Ly") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Hóa" SortExpression="Hoa">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl3" Text='<%#Eval("Hoa") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Sinh" SortExpression="Sinh">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl4" Text='<%#Eval("Sinh") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Tin" SortExpression="Tin">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl5" Text='<%#Eval("Tin") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Văn" SortExpression="Van">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl6" Text='<%#Eval("Van") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Sử" SortExpression="LichSu">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl7" Text='<%#Eval("LichSu") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Địa" SortExpression="DiaLy">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl8" Text='<%#Eval("DiaLy") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="NN" SortExpression="NgoaiNgu">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl9" Text='<%#Eval("NgoaiNgu") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="GDCD" SortExpression="GDCN">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl10" Text='<%#Eval("GDCD") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="CN" SortExpression="CongNghe">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl11" Text='<%#Eval("CongNghe") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="TD" SortExpression="TheDuc">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl12" Text='<%#Eval("TheDuc") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="QP" SortExpression="GDQP">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl13" Text='<%#Eval("GDQP") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="ĐTB" SortExpression="DTB">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbl14" Text='<%#Eval("DTB") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HL" SortExpression="HocLuc">
                                <ItemTemplate>
                                    <%#Eval("HocLuc") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="HK" SortExpression="HanhKiem">
                                <ItemTemplate>
                                    <%#Eval("HanhKiem") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Có phép" SortExpression="NghiCP">
                                <ItemTemplate>
                                    <%#Eval("NghiCP") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Không phép" SortExpression="NghiKP">
                                <ItemTemplate>
                                    <%#Eval("NghiKP") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Danh hiệu" SortExpression="DanhHieu">
                                <ItemTemplate>
                                    <%#Eval("DanhHieu") %>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <PagerStyle BackColor="#E4ECEF" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#9999FF" Font-Bold="True" BorderColor="Blue" 
                            Height="30px" />
                    </asp:GridView>
                </div>
                <div class="personal_style_form" style="margin-top: 20px;text-align: right; margin-right: 10px;">
                    Học lực:&nbsp; 
                  
                    <span style="margin-right: 10px;">Giỏi:<asp:Label runat="server" ID="lblGioi"
                            ForeColor="Blue"></asp:Label>
                        </span><span style="margin-right: 10px;">Khá:<asp:Label runat="server" ID="lblKha"
                            ForeColor="Blue"></asp:Label>
                        </span><span style="margin-right: 10px;">TB:<asp:Label runat="server" ID="lblTrungBinh"
                            ForeColor="Blue"></asp:Label>
                        </span>   
                        <span style="margin-right: 10px;">Yếu:<asp:Label runat="server" ID="lblYe1"
                            ForeColor="Blue"></asp:Label>
                        </span>  
                        <span style="margin-right: 10px;">Kém:<asp:Label runat="server" ID="lblKem"
                            ForeColor="Blue"></asp:Label>
                        </span>                
                </div>
                 <div id="Div2" class="personal_submit clearfix">
                <asp:Button runat="server" ID="btnGuiBangDiem" CssClass="button_150" 
                    Text="Gửi bảng điểm" onclick="btnGuiBangDiem_Click"/>&nbsp;&nbsp;&nbsp;
                <asp:Button runat="server" ID="btnHuy" CssClass="button_150" Text="Hủy" 
                    onclick="btnHuy_Click"/>&nbsp;&nbsp;&nbsp;
                    <asp:Button runat="server" ID="btnXuatExcel" Text="Xuất file Excel" 
                    CssClass="button_150" onclick="btnXuatExcel_Click" />
            </div>
            </div>
           
        </div>
    </div>
</asp:Content>
